function startnew(){
    validate();
    load_ajax();
   
}
function getLogger(){
    
    load_ajaxGetLogger();
}


//                    
                    function validate()
          {
            // L?y gi� tr? input
             var username = document.getElementById("username").value;
             var message = document.getElementById("message").value;
            
            // L?y ??i t??ng message
            var mesAlert = document.getElementById("mesAlert");
            
            // Validate
            if (username == "" || message == ""){
            	mesAlert.innerHTML = "Information fehlt";
              	mesAlert.style.color = "red";
            }
            
            else{
            	mesAlert.innerHTML = "Eingaben success!";
              	mesAlert.style.color = "blue";
            }
            
          }
//                    
                      
            
